<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\enum;

class CommonEnum
{
    # 账户媒体类型
    public const OE_MEDIA = 1; // 巨量引擎

    public const KS_MEDIA = 2; // 磁力引擎

    public const KS_ESP_MEDIA = 3; // 磁力金牛

    public const OE_ESHOP_MEDIA = 4; // 巨量千川

    public const QQ_MEDIA = 5; // 广点通


    public const MEDIA_NAME = [
        self::OE_MEDIA => '字节-巨量引擎',
        self::KS_MEDIA => '快手-磁力引擎',
        self::KS_ESP_MEDIA => '快手-磁力金牛',
        self::OE_ESHOP_MEDIA => '字节-巨量千川',
        self::QQ_MEDIA => '腾讯-广点通',
    ];

    /**
     * @var int 分脚本数量
     */
    public const SHELL_NUM = 10;

    /**
     * @var string 平台-IOS
     */
    public const IOS = 'IOS';

    /**
     * @var string 平台-Android
     */
    public const ANDROID = 'Android';

    public const SYNC_SUCCESS = 1;

    public const SYNC_FAIL = 0;

    /**
     * @var int 制片
     */
    public const ROLE_PRODUCTION = 8;
}
